package com.lunhui.service.provider.main;

import lombok.extern.slf4j.Slf4j;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.ImportResource;
import org.springframework.scheduling.annotation.EnableScheduling;

@Configuration
@SpringBootApplication(scanBasePackages = {"com.lunhui.service"})
@ComponentScan({"com.lunhui.service","springfox"})
@EnableScheduling
@Slf4j
public class LunhuiServiceApplication {

    public static void main(String[] args) {
        SpringApplication app = new SpringApplication(LunhuiServiceApplication.class,"classpath:spring/*.xml");

        app.run(args);
    }

}
